<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: Root404
  Date: 2023/10/25
  Time: 10:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<fm:form method="get" modelAttribute="Entry" action="${pageContext.request.contextPath}/toadd16999">
    <fm:errors path="title"/><br/>
    标题:<fm:input path="title"/><br/>
    <fm:errors path="categoryId"/><br/>
    分类id:<fm:input path="categoryId"/><br/>
    <input type="submit" value="提交">
</fm:form>

<%--<form method="get" action="${pageContext.request.contextPath}/s303">--%>
<%--    <input type="text" name="title"><fm:errors/>--%>
<%--    <input type="text" name="categoryId"><fm:errors/>--%>
<%--    <input type="submit" value="提交">--%>
<%--</form>--%>

</body>
</html>
